home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Webster's Millennium Amer…Sign Language Dictionary
/
ASL.ISO
/
mac
/
SHARED.cst
/
00041_Script_event handlers
< prev
next >
Wrap
Text File
|
2001-09-17
|
1KB
|
55 lines
--∂ï
global gToiletObj
on initMouse
when mouseDown then FlushEvent
end
on FlushEvent
-- put "In FlushEvent"
--if the cursor of sprite 0 = 4 then
--put "Cursor was 4"
if the movieName = "Skills.dir" and the doubleClick then
--put "It was a doubleClick"
dontPassEvent
-- nothing --dontPassEvent
end if
if the machineType = 256 then -- On the inferior platform.
-- if the doubleClick then
-- nothing --dontPassEvent
-- end if
-- Do PC related birth Xobject stuff.
else
----PETEMACK 06.20.01
-- openXLib The Pathname & "Johnny.Xob"
-- set gToiletObj = Johnny(mNew)
-- gToiletObj(mFlush) -- Dump the mouseEvent in the queue.
-- CloseXlib The PathName & "Johnny.Xob"
end if
end
on checkExit
if the machineType <> 256 then
if the commandDown and ¨
(the key = "." or the key = "q") and ¨
the exitLock = TRUE then quitASL
else
if the controlDown and ¨
(the key = "." or the key = "q") and ¨
the exitLock = TRUE then quitASL
end if
end if
end checkExit